<extend name="Public/base" />

<block name="style" >
    <style>
        p{
            line-height: 34px;
        }
    </style>
</block>

<block name="body">

    <!-- 弹窗插件 -->
    <include file="Public:artdialog" />
    <!-- 表单验证插件 -->
    <include file="Public:validform" />

    <form action="{:U('')}" method="post" role="form" class="form-horizontal row-border vform">

        <div class="row">
            <div class="col-md-12">
                <div class="block-web">
                    <div class="header">
                        <h3 class="content-header">存款记录详情</h3>
                    </div>
                    <div class="porlets-content">

                        <div class="form-group" >
                            <label class="col-sm-2 control-label"><font class="red">*</font>状态</label>
                            <div class="col-sm-9">
                                <p>
                                    <if condition="$entity['is_checked'] eq 1">
                                        已审核
                                        <elseif condition="$entity['is_checked'] eq 2"/>
                                        审核拒绝
                                        <else/>
                                        未审核
                                    </if>
                                </p>
                            </div>
                        </div>



                        <div class="form-group">
                            <label class="col-sm-2 control-label">用户登录帐号</label>
                            <div class="col-sm-9">
                                <p>{$entity['users']['user_name']}</p>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">用户手机</label>
                            <div class="col-sm-9">
                                <p>{$entity['users']['mobile_phone']}</p>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">充值时间</label>
                            <div class="col-sm-9">
                                <p>{$entity['add_time']|date='Y-m-d H:i:s',###}</p>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">充值金额</label>
                            <div class="col-sm-9">
                                <p>{$entity['money']}</p>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">充值方式</label>
                            <div class="col-sm-9">
                                <p>
                                    <if condition="$entity['pay_type'] eq 1">
                                        银行转账
                                        <elseif condition="$entity['pay_type'] eq 2"/>
                                        支付宝
                                        <else/>
                                    </if>
                                </p>
                            </div>
                        </div>


                        <div class="form-group">
                            <label class="col-sm-2 control-label"><font class="red">*</font>充值凭证</label>
                            <div class="col-sm-9">
                                <if condition="$vo['img_name']">
                                    <a target="_blank" href="/attas/user_pre_deposit/{$entity['img_name']}">
                                        <img width="100px" src="/attas/user_pre_deposit/{$entity['img_name']}"/>
                                    </a>
                                    <else/>
                                    无需图片
                                </if>
                                <div class="Validform_checktip"></div>
                            </div>
                        </div>


                        <div class="form-group">
                            <label class="col-sm-2 control-label">备注</label>
                            <div class="col-sm-9">
                                <p>{$entity['remark']}</p>
                            </div>
                        </div>



                        <if condition="$entity['is_checked'] neq 0">

                            <div class="form-group">
                                <label class="col-sm-2 control-label">审核人</label>
                                <div class="col-sm-9">
                                    <p>{$entity['admin_user_name']}</p>
                                </div>
                            </div>



                            <div class="form-group">
                                <label class="col-sm-2 control-label">审核时间</label>
                                <div class="col-sm-9">
                                    <p>{$entity['check_time']|date='Y-m-d H:i:s',###}</p>
                                </div>
                            </div>



                            <div class="form-group">
                                <label class="col-sm-2 control-label">审核备注</label>
                                <div class="col-sm-9">
                                    <p>{$entity['check_remark']}</p>
                                </div>
                            </div>

                        </if>

                    </div><!--/form-group-->


                    <div class="footer">
                        <button class="btn btn-default" type="button" onclick="art.dialog.close();">关闭</button>
                    </div>




                </div><!--/porlets-content-->
            </div><!--/block-web-->
        </div>

        </div>



    </form>




</block>

<block name="script">
    <script type="text/javascript" src="/plugins/laydate/laydate.dev.js"></script>
    <script>

        laydate({
            elem: '#gathering_time',
            festival: true, //显示节日
            istime: true,
            format: 'YYYY-MM-DD hh:mm:ss'
        });

    </script>
</block>


